#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int n1 = 0, n2 = 0, n3 = 0,tmp = 0;
	while (scanf("%d %d %d", &n1, &n2, &n3) != EOF)
	{
		if (n1 < n2)
		{
			tmp = n1;
			n1 = n2;
			n2 = tmp;
		}
		if (n1 < n3)
		{
			tmp = n1;
			n1 = n3;
			n3 = tmp;
		}
		if (n2 < n3)
		{
			tmp = n2;
			n2 = n3;
			n3 = tmp;
		}
		printf("%d %d %d", n1, n2, n3);

	}
	return 0;
}